
function diameter(r){
    return 2 * r;
}

function perimeter(r){
    return 2 * Math.PI * r;
}
  
function area(r){
    return Math.PI * r ** 2;
}

module.exports.diameter = diameter;
module.exports.perimeter = perimeter;
module.exports.area = area;
